package com.mjh.zhujianju.service.base;

import com.livew.framework.base.service.BaseService;
import com.mjh.zhujianju.model.base.HitsEO;

/**
 * @author liuyang
 * @Description: 阅读量
 * @date 2018/8/11 17:50
 */
public interface HitsService extends BaseService<HitsEO> {

    /**
     * 统计阅读量
     * @param type
     * @param businessId
     * @return
     */
    Long queryHitsTotal(String type,Long businessId);

    /**
     * 增加浏览量
     * @param type
     * @param businessId
     */
    void updateNumber(String type,Long businessId);
}
